Skip to content

Commit b4a1aa5

Browse files
committed
Added selector 89 to GetInfo - returns window title from SetMainTitle
1 parent 061931c commit b4a1aa5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripting/methods/methods_info.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ tInfoTypeMapping InfoTypes [] =
185185
{ 86, "Word under mouse on mouse menu click" },
186186
{ 87, "Last command sent" },
187187
{ 88, "Window title last set by SetTitle" },
188+
{ 89, "Window title last set by SetMainTitle" },
188189

189190

190191

@@ -536,6 +537,7 @@ VARIANT CMUSHclientDoc::GetInfo(long InfoType)
536537
case 86: SetUpVariantString (vaResult, m_strWordUnderMenu); break;
537538
case 87: SetUpVariantString (vaResult, m_strLastCommandSent); break;
538539
case 88: SetUpVariantString (vaResult, m_strWindowTitle); break;
540+
case 89: SetUpVariantString (vaResult, m_strMainWindowTitle); break;
539541

540542
case 101: SetUpVariantBool (vaResult, m_bNoEcho); break;
541543
case 102: SetUpVariantBool (vaResult, m_bDebugIncomingPackets); break;

0 commit comments

Comments
 (0)