diff options
author | thez3ro <io@thezero.org> | 2017-06-04 22:06:27 +0300 |
---|---|---|
committer | thez3ro <io@thezero.org> | 2017-06-04 22:06:27 +0300 |
commit | 3015baf6e6624914a1011956da62bcf7819d7247 (patch) | |
tree | b31a112a953fa6ae8f14641445a46155c677246f /src/gui/PasswordGeneratorWidget.h | |
parent | 3c51455fa3253c9026fc00af9f55448b1ad997f8 (diff) |
fix password generator button's enable behavior
Diffstat (limited to 'src/gui/PasswordGeneratorWidget.h')
-rw-r--r-- | src/gui/PasswordGeneratorWidget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/PasswordGeneratorWidget.h b/src/gui/PasswordGeneratorWidget.h index 9fbcdbeb1..b552e112b 100644 --- a/src/gui/PasswordGeneratorWidget.h +++ b/src/gui/PasswordGeneratorWidget.h @@ -58,7 +58,7 @@ signals: private slots: void applyPassword(); void copyPassword(); - void updateApplyEnabled(const QString& password); + void updateButtonsEnabled(const QString& password); void updatePasswordStrength(const QString& password); void togglePasswordShown(bool hidden); @@ -72,6 +72,7 @@ private slots: private: bool m_updatingSpinBox; + bool m_standalone = false; PasswordGenerator::CharClasses charClasses(); PasswordGenerator::GeneratorFlags generatorFlags(); |