Skip to content

Commit effddd0

Browse files
jeremypwzeebok
andauthored
Update src/Dialogs/GlobalSearchDialog.vala
Use boolean Co-authored-by: Ryan Kornheisl <[email protected]>
1 parent 6d4af80 commit effddd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dialogs/GlobalSearchDialog.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class Scratch.Dialogs.GlobalSearchDialog : Granite.MessageDialog {
7171
var box = new Gtk.Box (VERTICAL, 0);
7272
if (!use_regex) {
7373
box.add (new Gtk.Label (case_text) { halign = START });
74-
if (wholeword_text != "") {
74+
if (wholeword) {
7575
box.add (new Gtk.Label (wholeword_text) { halign = START });
7676
}
7777
} else {

0 commit comments

Comments
 (0)