mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Tweak
This commit is contained in:
parent
f0dd38000d
commit
7e6249f797
@ -1926,11 +1926,11 @@ bool CMeterWindow::ReadSkin()
|
|||||||
// Read options from Rainmeter.ini.
|
// Read options from Rainmeter.ini.
|
||||||
ReadOptions();
|
ReadOptions();
|
||||||
|
|
||||||
std::wstring context = m_Parser.ReadString(L"Rainmeter", L"ContextTitle", L"");
|
std::wstring cTitle = m_Parser.ReadString(L"Rainmeter", L"ContextTitle", L"");
|
||||||
if (!context.empty())
|
if (!cTitle.empty())
|
||||||
{
|
{
|
||||||
context = m_Parser.ReadString(L"Rainmeter", L"ContextAction", L"");
|
std::wstring cAction = m_Parser.ReadString(L"Rainmeter", L"ContextAction", L"");
|
||||||
if (!context.empty())
|
if (!cAction.empty() || _wcsicmp(cTitle.c_str(), L"SEPARATOR") == 0)
|
||||||
{
|
{
|
||||||
m_HasCustomContextMenu = true;
|
m_HasCustomContextMenu = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user