summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r--src/gui/tradewindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index 8f85f677f..1d3d7ef39 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -459,3 +459,8 @@ bool TradeWindow::checkItem(Item *item)
}
return true;
}
+
+bool TradeWindow::isInpupFocused()
+{
+ return (mMoneyField && mMoneyField->isFocused());
+}