author | zautrix <zautrix> | 2005-01-19 14:35:53 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-19 14:35:53 (UTC) |
commit | a9f8ad6916ea1a849a43fe49c4085f6c44b5c47b (patch) (unidiff) | |
tree | a649fbc1c07e2c199833da1a23cf326d68406d4b /pwmanager | |
parent | 0d878a0144644499ead17b2532cc94abb545bcdb (diff) | |
download | kdepimpi-a9f8ad6916ea1a849a43fe49c4085f6c44b5c47b.zip kdepimpi-a9f8ad6916ea1a849a43fe49c4085f6c44b5c47b.tar.gz kdepimpi-a9f8ad6916ea1a849a43fe49c4085f6c44b5c47b.tar.bz2 |
dislog size fixes
-rw-r--r-- | pwmanager/pwmanager/editcategory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/editcategory.cpp b/pwmanager/pwmanager/editcategory.cpp index 4e55de8..4e2378c 100644 --- a/pwmanager/pwmanager/editcategory.cpp +++ b/pwmanager/pwmanager/editcategory.cpp | |||
@@ -136,24 +136,25 @@ void editCategoryWnd::slotApply() | |||
136 | enableButton( KDialogBase::Apply, false ); | 136 | enableButton( KDialogBase::Apply, false ); |
137 | return; | 137 | return; |
138 | } | 138 | } |
139 | 139 | ||
140 | BUG(); | 140 | BUG(); |
141 | 141 | ||
142 | } | 142 | } |
143 | 143 | ||
144 | void editCategoryWnd::cancel_slot() | 144 | void editCategoryWnd::cancel_slot() |
145 | { | 145 | { |
146 | QString cat = categoryComboBox->currentText(); | 146 | QString cat = categoryComboBox->currentText(); |
147 | categorySelected ( cat ); | 147 | categorySelected ( cat ); |
148 | reject(); | ||
148 | } | 149 | } |
149 | 150 | ||
150 | void editCategoryWnd::setCurrCategory(const QString &cat) | 151 | void editCategoryWnd::setCurrCategory(const QString &cat) |
151 | { | 152 | { |
152 | int i, count = categoryComboBox->count(); | 153 | int i, count = categoryComboBox->count(); |
153 | 154 | ||
154 | for (i = 0; i < count; ++i) { | 155 | for (i = 0; i < count; ++i) { |
155 | if (categoryComboBox->text(i) == cat) { | 156 | if (categoryComboBox->text(i) == cat) { |
156 | categoryComboBox->setCurrentItem(i); | 157 | categoryComboBox->setCurrentItem(i); |
157 | categorySelected ( cat ); | 158 | categorySelected ( cat ); |
158 | return; | 159 | return; |
159 | } | 160 | } |