summaryrefslogtreecommitdiffstats
path: root/kexi/main/keximainwindowimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main/keximainwindowimpl.cpp')
-rw-r--r--kexi/main/keximainwindowimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/main/keximainwindowimpl.cpp b/kexi/main/keximainwindowimpl.cpp
index 15491d5c..a2cf0e0c 100644
--- a/kexi/main/keximainwindowimpl.cpp
+++ b/kexi/main/keximainwindowimpl.cpp
@@ -1422,7 +1422,7 @@ void KexiMainWindowImpl::updateReadOnlyState()
// update "insert ....." actions for every part
KActionCollection *ac = actionCollection();
for (KexiPart::PartInfoListIterator it(*Kexi::partManager().partInfoList()); it.current(); ++it) {
- KAction *a = ac->action( TQString(KexiPart::nameForCreateAction( *it.current() )) );
+ KAction *a = ac->action( TQString(KexiPart::nameForCreateAction( *it.current() )).ascii() );
if (a)
a->setEnabled(!readOnly);
}