Commit be6199f9 authored by Michael Büsch's avatar Michael Büsch

gui/finddialog: Set dialog title correctly

Signed-off-by: Michael Büsch's avatarMichael Buesch <m@bues.ch>
parent 59b71e21
......@@ -30,7 +30,10 @@ class FindReplaceDialog(QDialog):
def __init__(self, textEdit, withReplace=True, parent=None):
QDialog.__init__(self, parent)
self.setWindowTitle("Find and replace text")
if withReplace:
self.setWindowTitle("Find and replace text")
else:
self.setWindowTitle("Find text")
self.setLayout(QGridLayout())
label = QLabel("Find:", self)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment