mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-22 14:07:15 +02:00
Minor code enhancements
This commit is contained in:
@@ -71,6 +71,11 @@ void LayoutView::set_current (LayoutView *view)
|
||||
s_current_view.reset (view);
|
||||
}
|
||||
|
||||
void LayoutView::set_current ()
|
||||
{
|
||||
s_current_view.reset (this);
|
||||
}
|
||||
|
||||
} // namespace lay
|
||||
|
||||
#endif
|
||||
|
||||
@@ -66,6 +66,11 @@ public:
|
||||
*/
|
||||
void timer ();
|
||||
|
||||
/**
|
||||
* @brief Makes this view the current one
|
||||
*/
|
||||
void set_current ();
|
||||
|
||||
/**
|
||||
* @brief Gets the current view
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user