diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-02-26 04:18:15 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-02-26 04:18:15 +0000 |
| commit | d52f6c9f71c1ee94539fe94bd821df608d7ee602 (patch) | |
| tree | 93bd622c4d687ca6b653f27282536eca24385005 /pokemodr/CoinListUI.cpp | |
| parent | 265835165d9f11f963087122d9c5c58f90dcd21c (diff) | |
| download | sigen-d52f6c9f71c1ee94539fe94bd821df608d7ee602.tar.gz sigen-d52f6c9f71c1ee94539fe94bd821df608d7ee602.tar.xz sigen-d52f6c9f71c1ee94539fe94bd821df608d7ee602.zip | |
[FIX] Apply/Discard buttons now set correctly when loaded or changes are discarded
[FIX] "Filler" tree items can no longer be selected
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@87 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/CoinListUI.cpp')
| -rw-r--r-- | pokemodr/CoinListUI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/CoinListUI.cpp b/pokemodr/CoinListUI.cpp index 33f01a01..18a0723d 100644 --- a/pokemodr/CoinListUI.cpp +++ b/pokemodr/CoinListUI.cpp @@ -54,8 +54,8 @@ CoinListUI::CoinListUI(CoinList* c, QWidget* parent) : } } } - emit(changed(false)); setGui(); + emit(changed(false)); } // KToolbar CoinListUI::getToolbar(QWidget* parent) @@ -78,8 +78,8 @@ void CoinListUI::on_buttonApply_clicked() void CoinListUI::on_buttonDiscard_clicked() { *coinList_mod = *coinList; - emit(changed(false)); setGui(); + emit(changed(false)); } void CoinListUI::on_varName_textChanged(const QString& n) |
