parent
5c52aff7a1
commit
ed5c2631c1
|
@ -928,14 +928,17 @@ void Notepad_plus::saveDockingParams()
|
||||||
else
|
else
|
||||||
floatCont = nppGUI._dockingData._pluginDockInfo[i]._prevContainer;
|
floatCont = nppGUI._dockingData._pluginDockInfo[i]._prevContainer;
|
||||||
|
|
||||||
if (floatContArray[floatCont] == 0)
|
if (floatCont >= 0)
|
||||||
{
|
{
|
||||||
RECT rc;
|
if (floatContArray[floatCont] == 0)
|
||||||
if (nppGUI._dockingData.getFloatingRCFrom(floatCont, rc))
|
|
||||||
{
|
{
|
||||||
vFloatingWindowInfo.push_back(FloatingWindowInfo(floatCont, rc.left, rc.top, rc.right, rc.bottom));
|
RECT rc;
|
||||||
|
if (nppGUI._dockingData.getFloatingRCFrom(floatCont, rc))
|
||||||
|
{
|
||||||
|
vFloatingWindowInfo.push_back(FloatingWindowInfo(floatCont, rc.left, rc.top, rc.right, rc.bottom));
|
||||||
|
}
|
||||||
|
floatContArray[floatCont] = 1;
|
||||||
}
|
}
|
||||||
floatContArray[floatCont] = 1;
|
|
||||||
}
|
}
|
||||||
if (i < nppGUI._dockingData._pluginDockInfo.size()) // to prevent from crash in debug mode
|
if (i < nppGUI._dockingData._pluginDockInfo.size()) // to prevent from crash in debug mode
|
||||||
vPluginDockInfo.push_back(nppGUI._dockingData._pluginDockInfo[i]);
|
vPluginDockInfo.push_back(nppGUI._dockingData._pluginDockInfo[i]);
|
||||||
|
|
Loading…
Reference in New Issue