mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 00:30:53 +01:00
Wrap code for better readability
This commit is contained in:
@@ -88,7 +88,8 @@ void PropertiesEditorDockWidget::reset()
|
||||
@return true if was added (or already add)
|
||||
or false if can't be add (editor = nullptr)
|
||||
*/
|
||||
bool PropertiesEditorDockWidget::addEditor(PropertiesEditorWidget *editor, int index)
|
||||
bool PropertiesEditorDockWidget::addEditor(PropertiesEditorWidget *editor,
|
||||
int index)
|
||||
{
|
||||
if (!editor) return false;
|
||||
if (m_editor_list.contains(editor)) return true;
|
||||
|
||||
Reference in New Issue
Block a user