src/dialogs.cc

changeset 840
d077dd19bf9a
parent 816
9adb822de7b9
child 844
11587d419d2f
--- a/src/dialogs.cc	Sun Jul 13 20:28:52 2014 +0300
+++ b/src/dialogs.cc	Sun Jul 13 20:40:24 2014 +0300
@@ -154,7 +154,7 @@
 
 void OverlayDialog::slot_dimensionsChanged()
 {
-	bool enable = (ui->width->value() != 0) || (ui->height->value() != 0);
+	bool enable = (ui->width->value() != 0) or (ui->height->value() != 0);
 	ui->buttonBox->button (QDialogButtonBox::Ok)->setEnabled (enable);
 }
 

mercurial