Autofocus, autorefresh
This commit is contained in:
@@ -8,7 +8,7 @@ import datetime
|
||||
from mac_vendor_lookup import AsyncMacLookup
|
||||
|
||||
# from db_classes import *
|
||||
from db_classes import get_location_id, create_item
|
||||
from db_classes import get_location_id, create_item, fancy_location
|
||||
from .. import components as comps
|
||||
|
||||
import asyncio
|
||||
@@ -141,7 +141,7 @@ class AddPage(rio.Component):
|
||||
if get_location_id(self.location) != False:
|
||||
self.location_code = self.location
|
||||
print("Found location " + get_location_id(self.location).name)
|
||||
self.location = '*' + get_location_id(self.location).name
|
||||
self.location = '* ' + fancy_location(get_location_id(self.location))
|
||||
|
||||
|
||||
def _update_partnum(self, event: rio.TextInputChangeEvent):
|
||||
|
||||
Reference in New Issue
Block a user