summaryrefslogtreecommitdiffstats
path: root/pokemodr/TimeUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/TimeUI.cpp')
-rw-r--r--pokemodr/TimeUI.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/pokemodr/TimeUI.cpp b/pokemodr/TimeUI.cpp
index 5710d16f..7dc411e5 100644
--- a/pokemodr/TimeUI.cpp
+++ b/pokemodr/TimeUI.cpp
@@ -49,7 +49,6 @@ void TimeUI::on_buttonApply_clicked()
{
*time = *time_mod;
emit(setChanged(false));
- setGui();
}
void TimeUI::on_buttonDiscard_clicked()
@@ -59,9 +58,9 @@ void TimeUI::on_buttonDiscard_clicked()
setGui();
}
-void TimeUI::on_varName_textChanged(const QString& t)
+void TimeUI::on_varName_textChanged(const QString& n)
{
- time_mod->setName(t);
+ time_mod->setName(n);
emit(setChanged(true));
}