diff options
| -rw-r--r-- | src/modules/window/libkviwindow.cpp | 1 | ||||
| -rw-r--r-- | src/modules/window/userwindow.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/window/libkviwindow.cpp b/src/modules/window/libkviwindow.cpp index 8e79aec11..66acf411e 100644 --- a/src/modules/window/libkviwindow.cpp +++ b/src/modules/window/libkviwindow.cpp @@ -1176,6 +1176,7 @@ static bool window_kvs_fnc_open(KviKvsModuleFunctionCall * c) you're allowed to use the <nobr>,<font>,<b> and <i> html tags. It is better to avoid using colored fonts since you can't know which color scheme the user will have set.[br] + If the windows get undocked, it will just use <plain_text_caption>, not the styled html captions. If the specified window does not exist a warning is printed unless the -q switch is used. @seealso: */ diff --git a/src/modules/window/userwindow.cpp b/src/modules/window/userwindow.cpp index 7f38dd0f6..5860e4665 100644 --- a/src/modules/window/userwindow.cpp +++ b/src/modules/window/userwindow.cpp @@ -41,8 +41,7 @@ KviUserWindow::KviUserWindow(KviFrame * pFrm,const char * name,int iIcon,KviCons m_iIcon = iIcon; m_szPlainTextCaption = name; - m_szHtmlActiveCaption = name; - m_szHtmlInactiveCaption = name; + fillSingleColorCaptionBuffers(m_szPlainTextCaption); // Register ourselves //connection()->registerChannel(this); |
