summaryrefslogtreecommitdiffstats
path: root/pokemodr/PokeModrUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-16 16:55:28 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-16 16:55:28 +0000
commit9c1388c7964bd3b4ae147e39c146c96dc20947e9 (patch)
tree09628e1b12604d3194b7056c31df0573af4239bd /pokemodr/PokeModrUI.cpp
parenta2a81fa0eee00670a1e18918458f6ac12860d59c (diff)
downloadsigen-9c1388c7964bd3b4ae147e39c146c96dc20947e9.tar.gz
sigen-9c1388c7964bd3b4ae147e39c146c96dc20947e9.tar.xz
sigen-9c1388c7964bd3b4ae147e39c146c96dc20947e9.zip
[FIX] TypeModel done for data() in models
[FIX] Another Qt bug found :( [FIX] Better connections for the editor widget git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@141 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/PokeModrUI.cpp')
-rw-r--r--pokemodr/PokeModrUI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pokemodr/PokeModrUI.cpp b/pokemodr/PokeModrUI.cpp
index e96e08b7..e4c3a7e8 100644
--- a/pokemodr/PokeModrUI.cpp
+++ b/pokemodr/PokeModrUI.cpp
@@ -297,6 +297,7 @@ void PokeModrUI::on_treePokemod_clicked(const QModelIndex& index)
if (!static_cast<ObjectUI*>(formPanel->widget())->close())
return;
}
+ boxButtons->setEnabled(false);
connect(widget, SIGNAL(changed(bool)), this, SLOT(setChangedTitle(bool)));
connect(widget, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool)));
connect(buttonApply, SIGNAL(clicked()), widget, SLOT(apply()));