mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-04 17:09:25 +00:00
NOISSUE preserve log page checkbox state when the instance window is closed
Only for a single session, not between sessions.
This commit is contained in:
@@ -69,6 +69,11 @@ void LogModel::suspend(bool suspend)
|
||||
m_suspended = suspend;
|
||||
}
|
||||
|
||||
bool LogModel::suspended()
|
||||
{
|
||||
return m_suspended;
|
||||
}
|
||||
|
||||
void LogModel::clear()
|
||||
{
|
||||
beginResetModel();
|
||||
@@ -147,3 +152,16 @@ void LogModel::setOverflowMessage(const QString& overflowMessage)
|
||||
{
|
||||
m_overflowMessage = overflowMessage;
|
||||
}
|
||||
|
||||
void LogModel::setLineWrap(bool state)
|
||||
{
|
||||
if(m_lineWrap != state)
|
||||
{
|
||||
m_lineWrap = state;
|
||||
}
|
||||
}
|
||||
|
||||
bool LogModel::wrapLines() const
|
||||
{
|
||||
return m_lineWrap;
|
||||
}
|
||||
|
Reference in New Issue
Block a user